<div id="notebook">
    <div id="events">

        <h3>      
            <?php $date = new Zend_Date($this->event->date);
            echo $date->get(Zend_Date::WEEKDAY) . ", " . $this->translate("the") . " " . $date->get('dd. MMMM yyyy'); ?> @<? echo $this->event->locationName; ?></h3>
<? if ($this->event->date <= date("Y-m-d")) { ?>
            <a class="button-add" href="/game/add?id=<?php echo $this->event->id; ?>"><i class="icon-plus-sign"></i><?php echo $this->translate("Add Game"); ?></a><br/>

    <? if ($this->games) { ?>        
                <table class="loop-table">
                    <tbody>
                        <tr><th><?php echo $this->translate("Game"); ?></th> <th><?php echo $this->translate("Winner"); ?></th></tr>
        <?php echo $this->partialLoop('/event/game-loop.phtml', $this->games); ?>
                    </tbody>
                </table>
            <? } else echo "<p class='emptySection'>".$this->translate("Start right now, scoring this event ")."<p>" ?>
            <?php echo $this->form ?>
<? } else echo "<p class='emptySection'>".$this->translate("<b>This is an future Event, it is not possible to write a play. Should not that be so, you fill me a sham from lottery?</b>")."</p>"; ?>
    </div>
</div>